module VideoHelper
	def player_object_string( url )
		"<object mpc-granted='true' classid='clsid:02BF25D5-8C17-4B23-BC80-D3487ABDDC9B' codebase='http://www.apple.com/qtactivex/qtplugin.cab' height='240' width='320'>
			<param name='src' value='#{url}'>
			<param name='autoplay' value='false'>
			<param name='controller' value='false'>
			<param name='loop' value='true'>
		</object>"
	end
end
